import IUserUpdatePasswordForm from '@/model/form/user/IUserUpdatePasswordForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 用户控制器-修改密码
export default function userUpdatePasswordApi(form: IUserUpdatePasswordForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IUserUpdatePasswordForm>(
    '/user/updatePassword',
    form
  )
}
